<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of config
 *
 * @author user
 */
class Config {

    private $items = array();

    public function __construct() {
        require BASEPATH . 'config/config.php';
        $this->items = $config;
    }

    public function item($item) {
        return (isset($this->items[$item])) ? $this->items[$item] : false;
    }

    public function set_item($item, $value = '') {
        $this->items[$item] = $value;
    }

    public function unset_item($item) {
        unset($this->items[$item]);
    }

}

?>
